package com.yellowpage.ca.service;

import java.util.List;
import java.util.Map;

import com.yellowpage.white.common.PageRender;
import com.yellowpage.white.service.BaseService;

import com.yellowpage.ca.data.UserGroup;

public interface UserGroupService extends BaseService {  

    /* white generate Method */ 
    public UserGroup getUserGroup(Long id);
    public List<UserGroup> getAllUserGroup();
    public List<Map> queryUserGroupByPage(Map queryMap, PageRender pageRender);
    public void saveUserGroup(UserGroup userGroup);
	public void updateUserGroup(UserGroup userGroup);
	public void delete(List deleteList);
	
	public List<Map> getUserWithGroup(Long userGroupId, boolean isInGroup); 
	public void saveGroupUsers(List<Long> userIdList, Long userGroupId, Long loginUserId);


}
  

